WPF Diagrams includes an assembly, Mindscape.WpfDiagramming.StarDiagrams, which implements diagramming logic specific to star (hierarchical) diagramming applications.

To use the star diagram functionality, reference the Mindscape.WpfDiagramming.StarDiagrams assembly, and merge the following resource dictionaries in addition to the normal DiagramShapes dictionary:

CopyMerging resource dictionaries for flow diagrams
<Window.Resources>
  <ResourceDictionary>
    <ResourceDictionary.MergedDictionaries>
      <ms:DiagramShapes />
      <ms:StarDiagramStyles />
      <ms:StandardStarDiagramToolBoxItems />
    </ResourceDictionary.MergedDictionaries>
  </ResourceDictionary>
</Window.Resources>

Two built-in styles are provided for flow diagrams, a pale minimalist style and a colourful gradient style. To choose which style you want, set DiagramSurface.Formatter:

CopyXML
<ms:DiagramSurface Formatter="{StaticResource {x:Static ms:StarDiagramStyles.GradientStyleFormatterKey}}" />

Finally, set your DiagramSurface.Diagram to be an instance of StarDiagramModel instead of the base Diagram class:

CopyC#
ds.Diagram = new StarDiagramModel();

StarDiagramModel works with the StarDiagramNode node type to manage the hierarchy of the star diagram.